package com.pand.model.dic;

import com.pand.model.BaseObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @ClassName: CodeType
 * @Description:系统编码类型表
 *
 */
@Entity
@Table(name = "SYS_CODE_TYPE")
public class CodeType extends BaseObject {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5288066148324688554L;

	/**
	 * 主键
	 */
	private String type;

	/**
	 * 类型名称
	 */
	private String name;

	/**
	 * 描述
	 */
	private String desc;

	@Id
	@Column(name = "ID")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Column(name = "TYPE_NAME")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "DESCRIBE")
	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
}
